package org.jay.angla.onlab;

import org.jay.angla.activity.MainActivity_;
import org.jay.angla.utils.Contants;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class BootBroadcastReceiver extends BroadcastReceiver {
	@Override
	public void onReceive(Context context, Intent intent) {
		Log.d(Contants.TAG, "booooooooooooooooooooooooot");
		Intent service = new Intent(context, MainActivity_.class);
		context.startService(service);
		Intent intent1 = context.getPackageManager().getLaunchIntentForPackage(
				"org.jay.angla.onlab");
		context.startActivity(intent1);
	}

}